/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.inheritance.model;

import za.ac.cput.assignment2.inheritance.service.Animal;

/**
 *
 * @author Matthew
 */
public class Bird implements Animal {

    private String Size;
    private int numOfEggs;
    private boolean fly;

    public Bird() {
    }

    public Bird(String Size, int numOfEggs, boolean fly) {
        this.Size = Size;
        this.numOfEggs = numOfEggs;
        this.fly = fly;
    }

    public String getSize() {
        return Size;
    }

    public void setSize(String Size) {
        this.Size = Size;
    }

    public boolean isFly() {
        return fly;
    }

    public void setFly(boolean fly) {
        this.fly = fly;
    }

    public int getNumOfEggs() {
        return numOfEggs;
    }

    public void setNumOfEggs(int numOfEggs) {
        this.numOfEggs = numOfEggs;
    }

    @Override
    public String EatPrey() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public int NumberOfChildren() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
  
    
}
